package toman;

import javax.persistence.TemporalType;
import java.util.Date;
import java.util.Set;

/**
 * A representation of a query with parameters.
 * <br>
 * User: zslajchrt
 * Date: 2.5.11
 * Time: 16:06
 */
public interface ParameterizedQuery {

    ParameterizedQuery setParameter(String paramName, Object value);

    ParameterizedQuery setParameter(String paramName, Date value, TemporalType type);

    Set<String> getParameterNames();

}
